<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>万元加冕，现金等你赢！</title>
    <meta charset="utf-8">   
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
    <meta content="telephone=no" name="format-detection">
    <link rel="stylesheet" type="text/css" href="{$Think.config.static_path}apply/css/main.css">
    <link rel="stylesheet" type="text/css" href="{$Think.config.static_path}apply/css/common.css">
</head>
<body class="layout">
	<div>
		 <img src="{$Think.config.static_path}apply/images/logo.png" class="logo">
        <img src="{$Think.config.static_path}apply/images/top.png" class="top">
        <p class="tips">喜报来袭！江苏绿地会APP即将上线<br>面向会员征集APP名字，只要够创意你就来<br>万元大奖等您赢</p>
        <img src="{$Think.config.static_path}apply/images/line2.png" class="line2">
		<div class="body">
			<div class="header">
                <h2>参选状态</h2>
				<div class="btn"><img src="{$Think.config.static_path}apply/images/use.png"></div>
                <div class="longuse hide">
                    <h3>恭喜您，创意被选用！</h3>
                </div>
                <p>已获赠1000积分</p>
			</div>
            <div class="table">
                <div class="tr">APP名称：{$info.app_name}</div>
                <div>名称寓意：{$info.app_info}</div>
            </div>
		</div>
        <p class="rule">
            <img src="{$Think.config.static_path}apply/images/rule2.png">
        </p>
	</div>
</body>
<script charset="utf-8" type="text/javascript" src="{$Think.config.static_path}jquery-2.1.4.min.js"></script>
<script charset="utf-8" type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript">
	weixinShare({$signPackage},{$sharePackage});
	var openid = "{$info.openid}";
	function weixinShare(configArr,shareArr){
		wx.config({
			 // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
			debug: false,
			appId: configArr.appId,
			timestamp: configArr.timestamp, 
			nonceStr:  configArr.nonceStr,
			signature: configArr.signature,
			jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','showOptionMenu','chooseImage', 'uploadImage', 'downloadImage'] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
		});
		
		wx.ready(function () {
			wx.hideMenuItems({
				menuList: ['menuItem:originPage', 'menuItem:openWithQQBrowser', 'menuItem:share:qq', 'menuItem:openWithSafari', 'menuItem:share:email', 'menuItem:readMode', 'menuItem:refresh'] // 要隐藏的菜单项，所有menu项见附录3
			});
			wx.showOptionMenu();
			var shareData = {
					title:  shareArr.title,
					desc:    shareArr.desc,
					link:    shareArr.link,
					imgUrl:  shareArr.imgUrl,
					success:function(res){
					
						$.getJSON('__URL__/sharelog',{openid:openid}  ,function(json){	
							
						})
					}
				};
			
			wx.onMenuShareTimeline(shareData);
			wx.onMenuShareAppMessage(shareData);
		   
			// config信息验证后会执行ready方法，所有接口调用都必须在config接口获得结果之后，config是一个客户端的异步操作，所以如果需要在页面加载时就调用相关接口，则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口，则可以直接调用，不需要放在ready函数中。
		});
		wx.error(function (res) {
		
		});
	}
</script>
</html>